<script setup>
	import {
		onLaunch,
		onShow,
		onHide
	} from '@dcloudio/uni-app'
	import {
		ref
	} from 'vue'
	import {
		serviceApi
	} from '/common/service.js'
	import {
		globalData
	} from '/common/globalData.js'

	onLaunch(() => {
		console.log('App Launch')
		// uni.clearStorageSync();
		globalData.userInfo = null
		globalData.serviceApi = serviceApi
	})
</script>
<style lang="scss">
	@import "uview-plus/index.scss";

	page {
		height: 100%;
	}

	uni-page-body {
		height: 100%;
	}

	view,
	text {
		box-sizing: border-box;
	}

	/*每个页面公共css */
	.display-flex {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	/* 文本溢出隐藏 */
	.uni-ellipsis {
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.two-ellipsis {
		display: -webkit-box;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.uni-easyinput__content {
		border-radius: 40rpx;
		padding: 0 20rpx;
		background-color: #F5F5F5 !important;

		.uni-icons {
			color: #CBCED1 !important;
		}
	}
</style>